package org.jeecg.modules.demo.weixin.smtsplitrulecom.service.impl;


import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import org.jeecg.modules.demo.weixin.entity.SmtSplitOrderCom;
import org.jeecg.modules.demo.weixin.entity.SmtSplitOrderFee;
import org.jeecg.modules.demo.weixin.entity.SmtSplitRuleCom;
import org.jeecg.modules.demo.weixin.smtsplitrulecom.mapper.SmtSplitRuleComMapper;
import org.jeecg.modules.demo.weixin.smtsplitrulecom.service.ISmtSplitRuleComService;
import org.springframework.stereotype.Service;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

import java.util.List;

/**
 * @Description: 分账接收方表
 * @Author: jeecg-boot
 * @Date:   2023-12-23
 * @Version: V1.0
 */
@Service
public class SmtSplitRuleComServiceImpl extends ServiceImpl<SmtSplitRuleComMapper, SmtSplitRuleCom> implements ISmtSplitRuleComService {

    @Override
    public List<SmtSplitRuleCom> queryComList(String merId) {
        LambdaQueryWrapper<SmtSplitRuleCom> wrapper = new LambdaQueryWrapper<>();
        wrapper.eq(SmtSplitRuleCom::getMerchantId, merId);
        return this.list(wrapper);
    }

}
